Component({
    properties: {
      title: {
        type: String,
        value: '默认标题'
      }
    },
    methods: {
      showWeather() {
        console.log('展示天气信息');
      }
    }
  });